package com.pengtu.dao.app;

import org.springframework.stereotype.Repository;

import com.pengtu.dao.hibernate.HibernateDao;
import com.pengtu.entity.app.User;

/**
 * 用户对象的泛型DAO类.
 * 
 * @author calvin
 */
@Repository
public class UserDao extends HibernateDao<User, String> {
	 @Override
	public User get(String id) {
		User user = super.get(id);
		this.initProxyObject(user.getRoleList());
		return user;
	}
}
